﻿@model KpBusiness.Model.Candidate

@{
    ViewBag.Title = "UploadCv";
    Layout = "~/Views/Shared/_Layout.cshtml";
}


<h2>Upload Your Resume</h2>
@using (Html.BeginForm("OfferLetterUpload", "Candidate", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    @Html.HiddenFor(model => model.UserInformation.UserId)
    @Html.HiddenFor(model => model.FileId)
    @Html.HiddenFor(model => model.HrFileId)
    @Html.HiddenFor(model => model.OfferId)

    <input type="file" name="file" />
    <input type="submit" value="Upload File" />
    <br/>
 <div> @ViewBag.Msg</div>
}